package domain.dao.interfaces;

import java.util.List;

import domain.entities.interfaces.IPhoneNumber;

public interface IDAOPhoneNumber {

	public abstract int addPhoneNumber(
			String phoneKind, String phoneNumber, int idContacts)
			throws Exception;

	public abstract void deletePhoneNumber(int id) throws Exception;

	public abstract void updatePhoneNumber(
			IPhoneNumber p,
			int id, String phoneKind, String phoneNumber) throws Exception;

	public abstract List<IPhoneNumber> getByContactId(int contactId);

}